package com.astronomy.spit.mapper;

import com.astronomy.spit.pojo.Spit;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import sun.security.provider.ConfigFile;

/**
 * Copyright(C),2019-2020,CarryWLTao互联网工作室
 * FileName:SpitMapper
 * Author:  Administrator
 * Date:    2020-06-19 13:58
 * Description: 吐槽
 * History:
 * <author>     <time>      <version>       <desc>
 * 作者姓名     修改时间       版本号          描述
 */
public interface SpitMapper extends MongoRepository<Spit,String> {

     Page<Spit> findByParentid(String parentid, Pageable pageable);
}
